package com.special.annotations;

import com.special.annotations.annations.Login;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuYC
 * @ClassName Test
 * @Description TODO
 * @date 2021/5/6 23:29
 */
@Login
@RestController
public class Test {
    @RequestMapping("/test")
    public String test() {
        System.out.println("test aspects ");
        return "hello";
    }

    public static void main(String[] args) {
        System.out.println("刘育超的测试成功：");
    }
}
